tools/build: Remove bpf() run-time check at build time
authorBen Hutchings <ben@decadent.org.uk>
Sun, 21 Feb 2016 15:33:15 +0000 (15:33 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Fri, 21 Oct 2022 19:05:40 +0000 (20:05 +0100)
commitfab990b884e8b9f701bbbd38a67b0ed488bc6f67
tree0f90baf9027b80f141db8449ce9857816135f6dd
parent3335589e71aa0d6f973a80138d9583b9486f3ad1
tools/build: Remove bpf() run-time check at build time

Forwarded: no

It is not correct to test that a syscall works on the build system's
kernel.  We might be building on an earlier kernel version or with
security restrictions that block bpf().

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name tools-build-remove-bpf-run-time-check-at-build-time.patch
tools/build/feature/test-bpf.c